package com.funo.wcity.app.entity;

import java.util.Date;

/**
 * AbstractTblcontactpersons entity provides the base persistence definition of
 * the Tblcontactpersons entity. @author MyEclipse Persistence Tools
 */

public class TblContactPersons implements java.io.Serializable {

	// Fields

	private Integer idContactPerson;
	private TblCompanies tblcompanies;
	private String firstName;
	private String lastName;
	private String title;
	private String job;
	private String telephone;
	private String mobile;
	private String email;
	private boolean isDefault;
	private Date lastDate;

	// Constructors

	/** default constructor */
	public TblContactPersons() {
	}

	/** minimal constructor */
	public TblContactPersons(Integer idContactPerson,
			TblCompanies tblcompanies, boolean isDefault, Date lastDate) {
		this.idContactPerson = idContactPerson;
		this.tblcompanies = tblcompanies;
		this.isDefault = isDefault;
		this.lastDate = lastDate;
	}

	/** full constructor */
	public TblContactPersons(Integer idContactPerson,
			TblCompanies tblcompanies, String firstName, String lastName,
			String title, String job, String telephone, String mobile,
			String email, boolean isDefault, Date lastDate) {
		this.idContactPerson = idContactPerson;
		this.tblcompanies = tblcompanies;
		this.firstName = firstName;
		this.lastName = lastName;
		this.title = title;
		this.job = job;
		this.telephone = telephone;
		this.mobile = mobile;
		this.email = email;
		this.isDefault = isDefault;
		this.lastDate = lastDate;
	}

	// Property accessors

	public Integer getIdContactPerson() {
		return this.idContactPerson;
	}

	public void setIdContactPerson(Integer idContactPerson) {
		this.idContactPerson = idContactPerson;
	}

	public TblCompanies getTblcompanies() {
		return this.tblcompanies;
	}

	public void setTblcompanies(TblCompanies tblcompanies) {
		this.tblcompanies = tblcompanies;
	}

	public String getFirstName() {
		return this.firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return this.lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getJob() {
		return this.job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public boolean getIsDefault() {
		return this.isDefault;
	}

	public void setIsDefault(boolean isDefault) {
		this.isDefault = isDefault;
	}

	public Date getLastDate() {
		return this.lastDate;
	}

	public void setLastDate(Date lastDate) {
		this.lastDate = lastDate;
	}

}